//导航栏路由
let li = document.querySelectorAll("li");
let url = (window.document.location.href);
url = url.split("/")[5];
switch(url){
    case "about-us.html":
        li[1].style.backgroundColor = "#cecece";
        break;
    case "business.html":
        li[2].style.backgroundColor = "#cecece";
        break;
    case "service.html":
        li[3].style.backgroundColor = "#cecece";
        break;
    default :
        li[0].style.backgroundColor = "#cecece";
        break;
}
console.log(url);
